<%@page import="com.xnx3.j2ee.Global"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  
<%@ taglib uri="http://www.xnx3.com/java_xnx3/xnx3_tld" prefix="x" %>
<jsp:include page="/wm/common/head.jsp">
	<jsp:param name="title" value="列表"/>
</jsp:include>

<jsp:include page="/wm/common/list/formSearch_formStart.jsp" ></jsp:include>
	<jsp:include page="/wm/common/list/formSearch_input.jsp">
		<jsp:param name="iw_label" value="代理商名称"/>
		<jsp:param name="iw_name" value="dailishang_username"/>
	</jsp:include>
	
    <input class="layui-btn iw_list_search_submit" type="submit" value="搜索" />
    
</form>
<div class="tabox" style="padding:0 20px;min-width: 1800px;">
<table class="layui-table iw_table" style="min-width: 1800px;">
  <thead>
    <tr>
    	<th style="width:80px; text-align:center">编号</th>
    	<th style="width:150px; text-align:center">代理商名称</th>
        <th style="width:150px; text-align:center">网格名称</th>
        <th style="width:150px; text-align:center">接单时间</th>
        <th style="width:150px; text-align:center">休息时间</th>
        <th style="width:200px; text-align:center">假期开始时间</th>
        <th style="width:200px; text-align:center">假期结束时间</th>
        <th style="width:500px; text-align:center">假期提示语</th>
    </tr> 
  </thead>
  <tbody>
  	<c:forEach items="${list}" var="item">
  		<tr>
  		  <td>${item.id}</td>
  		  <td>${item.dailishangUsername}</td>
          <td><x:substring maxLength="25" text="${item.wanggeUsername }"></x:substring> </td>
          <td><x:time linuxTime="${item.startTime }" format="HH:mm"></x:time>~<x:time linuxTime="${item.endTime }" format="HH:mm"></x:time></td>
          <td>${item.restTime}</td>
          <td> 
	          <c:choose>
                   <c:when test="${item.newYearStartRestTime == null}">
                   </c:when>
                   <c:when test="${item.newYearStartRestTime != null}">
                         <x:time linuxTime="${item.newYearStartRestTime }" format="yyyy-MM-dd HH:mm"></x:time>
                   </c:when>
			  </c:choose>
		  </td>
          <td>
          	<c:choose>
                   <c:when test="${item.newYearEndRestTime == null}">
                   </c:when>
                   <c:when test="${item.newYearEndRestTime != null}">
                         <x:time linuxTime="${item.newYearEndRestTime }" format="yyyy-MM-dd HH:mm"></x:time>
                   </c:when>
		 	 </c:choose>
          </td>
          <td><x:substring maxLength="25" text="${item.newYearTip }"></x:substring> </td>
      </tr>
    </c:forEach>
  </tbody>
</table>
</div>
<!-- 通用分页跳转 -->
<jsp:include page="/wm/common/page.jsp"></jsp:include>

<script type="text/javascript">

</script>

<jsp:include page="/wm/common/foot.jsp"></jsp:include>